<?php

include_once "function_net_bridge.php";
include_once "function_misc.php";

/*$in_array['Name'] = $_POST['devname'];
$ports = $_POST['txt_selbranch'];
$in_array['Ports'] = DelEndComma($ports);
$in_array['IpMigration'] = $_POST['ipmigration'];
$in_array['Stp']= $_POST['stp'];
*/
$in_array['Name'] = "br0";
$in_array['Ports'] = "eth0,eth1";
$in_array['Ip'] = $_POST['ip'];
$in_array['Mask']= $_POST['mask'];

EditXmlNetDevBridge($in_array);

echo("<meta http-equiv='refresh'content=0;URL='net_dev_bridge_list.php'>");
?>
